<?php
$dbParams = array(
    'database'  => 'soverei3_chemicals',
    'username'  => 'soverei3_aapthi',
    'password'  => 'aapthitech',
    'hostname'  => 'localhost',
);
return array(
    'db' => array(
        'username' => 'soverei3_aapthi',
        'password' => 'aapthitech',
    ),
    'urls' => array(		
	'baseUrl' => 'http://aapthitech.com/demos/designerchemicals',		
	'basePath' => 'http://aapthitech.com/demos/designerchemicals/public',
	),
	'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter' => function ($sm) use ($dbParams) {
                return new Zend\Db\Adapter\Adapter(array(
                    'driver'    => 'pdo',
                    'dsn'       => 'mysql:dbname='.$dbParams['database'].';host='.$dbParams['hostname'],
                    'database'  => $dbParams['database'],
                    'username'  => $dbParams['username'],
                    'password'  => $dbParams['password'],
                    'hostname'  => $dbParams['hostname'],
                ));
            },
        ),
    ),
'view_manager' => array(
		'base_path' => "http://aapthitech.com/demos/designerchemicals/public",
	),
);